package com.web.portal.controller;

import com.web.portal.pojo.Article;
import com.web.portal.response.ResponseResult;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping
public class Error {
    @GetMapping("/401")
    public ResponseResult addArticle(@RequestBody Article article) {
        return ResponseResult.FAILED("权限不足");
    }
}
